package com.qianyu.project.mapper;

import com.qianyu.project.entity.OutputProgressPlanSub;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 * 产值进度计划子表 Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface OutputProgressPlanSubMapper extends BaseMapper<OutputProgressPlanSub> {

    @Insert("insert into output_progress_plan_sub values(null,#{output_id},#{list_subject},#{unit},#{tasks_count},#{general_price},#{sum_amount},#{editer_id},#{plan_date})")
    void savebeach(Map<String, String> o);
}
